package com.adcc.ags.gms.mq.entity;

import com.adcc.ags.gms.core.entity.BaseEntity;

import java.util.Date;

/**
 * 通道实体
 */
public class Channel extends BaseEntity {

    // 通道ID
    private long id;

    // 通道名称
    private String name;

    // 通道用户
    private String userId;

    // 创建时间
    private Date create_time;

    // 生效按钮
    private String effect;

    /**
     * 构造函数
     */
    public Channel(){

    }

    /**
     * 构造函数
     * @param name
     */
    public Channel(String name){
        this.name = name;
    }

    /**
     * 构造函数
     * @param name
     * @param userId
     */
    public Channel(String name, String userId){
        this.name = name;
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getEffect() {
        return effect;
    }

    public void setEffect(String effect) {
        this.effect = effect;
    }
}
